package cn.edu.scujcc.dpl;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import androidx.appcompat.app.AppCompatActivity;

public class Register extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.register);
        ImageView btn = findViewById(R.id.img1);
        btn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v){
                Intent it = new Intent();
                it.setClass(Register.this, qqActivity.class);
                Register.this.startActivity(it);
            }
        });
        ImageView btnp = findViewById(R.id.img2);
        btnp.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v){
                Intent it = new Intent();
                it.setClass(Register.this, wxActivity.class);
                Register.this.startActivity(it);
            }
        });

    }

}
